export type OptionType = {
  value: string
  text: string
}

export type QuestionSelectPropsType = {
  title?: string
  options?: OptionType[]
  onChange?: (newProp: QuestionSelectPropsType) => void
  disabled?: boolean
}
export const QuestionSelectDefaultProps: QuestionSelectPropsType = {
  title: 'Select选择器',
  options: [
    {
      value: 'item1',
      text: '选项1',
    },
    {
      value: 'item2',
      text: '选项2',
    },
    {
      value: 'item3',
      text: '选项3',
    },
  ],
}
